#ifndef DOWCONSTRAINT_H_
#define DOWCONSTRAINT_H_

#include "constraint.h"
#include <boost/shared_ptr.hpp>

/// Day-of-Week constraint.  Specifies the days of the week allowed to be
/// scheduled.
class DOWConstraint : public Constraint {
public:
	DOWConstraint(const int&);	   // bit set of days not allowed.
								   // 0x00000001 means Sun is blocked.
								   // 0x00000002 means Mon is blocked.
								   // 0x00000009 means Tue, Wed are blocked
	virtual ~DOWConstraint();

	bool consider(const Schedule&);

private:
	int dow_;
};

#endif
